package com.pds.web.testOrganizationInfo.excel;

import com.pds.common.utils.spring.SpringUtils;
import com.pds.web.testOrganizationInfo.util.ExcelDynamicSelect;
import java.util.List;
import java.util.Map;

public class PersonSexSelectImpl implements ExcelDynamicSelect {

    @Override
    public String[] getSource(Map<String,String> map) {
        DataSelectImpl bean = SpringUtils.getBean(DataSelectImpl.class);
        List<String> list = bean.getData("person_sex");
        return list.toArray(new String[0]);
    }
}
